package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperOrderInstock implements Serializable {
    /**
     * 入库单号
     */
    private Integer inId;

    /**
     * 订单编号，采购单号|回收单号
     */
    private Integer orderId;

    /**
     * 入库时间--应该是入库单创建时间
     */
    private Date oIndate;

    /**
     * 制单人员
     */
    private String creater;

    /**
     * 入库完成时间
     */
    private Date doneDate;

    /**
     * 入库单状态 0-未入库 1-已入库；6-创建拉货；2-待拉货；3-已拉货；4-已验收；5-挂起
     */
    private Integer oStatus;

    /**
     * 客户ID
     */
    private Integer cid;

    /**
     * 客户端部门ID
     */
    private Integer cextId;

    /**
     * 客户联系人
     */
    private String cperson;

    /**
     * 客户电话
     */
    private String cphone;

    /**
     * 0-入库单，1-拉货单
     */
    private Integer type;

    /**
     * //1-回收人员拉货；2-服务组拉货
     */
    private Integer lType;

    /**
     * 网点id  或 服务组id
     */
    private Integer sid;

    /**
     * 车牌号
     */
    private String plate;

    /**
     * 出车时间
     */
    private Date timeToout;

    /**
     * 司机
     */
    private String driver;

    /**
     * 分配时间
     */
    private Date allocatDate;

    /**
     * 接货时间
     */
    private Date deliveryDate;

    /**
     * 挂起时间
     */
    private Date hangDate;

    /**
     * 修改时间
     */
    private Date modifTime;

    /**
     * 验货时间
     */
    private Date valdateDate;

    /**
     * 拉货人
     */
    private String deliveryPerson;

    /**
     * 库管操作者
     */
    private String kg;

    /**
     * 税率
     */
    private Double rate;

    /**
     * 订单集合
     */
    private String orderIds;

    /**
     * 结算状态 1已结算 0 未结算
     */
    private Integer fStatus;

    /**
     * 现金金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=1的ORDER_MONEY
     */
    private Double orderMoney1;

    /**
     * 虚拟币金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=5的ORDER_MONEY
     */
    private Double orderMoney5;

    private static final long serialVersionUID = 1L;

    /**
     * 入库单号
     */
    public Integer getInId() {
        return inId;
    }

    /**
     * 入库单号
     */
    public void setInId(Integer inId) {
        this.inId = inId;
    }

    /**
     * 订单编号，采购单号|回收单号
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 订单编号，采购单号|回收单号
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 入库时间--应该是入库单创建时间
     */
    public Date getoIndate() {
        return oIndate;
    }

    /**
     * 入库时间--应该是入库单创建时间
     */
    public void setoIndate(Date oIndate) {
        this.oIndate = oIndate;
    }

    /**
     * 制单人员
     */
    public String getCreater() {
        return creater;
    }

    /**
     * 制单人员
     */
    public void setCreater(String creater) {
        this.creater = creater;
    }

    /**
     * 入库完成时间
     */
    public Date getDoneDate() {
        return doneDate;
    }

    /**
     * 入库完成时间
     */
    public void setDoneDate(Date doneDate) {
        this.doneDate = doneDate;
    }

    /**
     * 入库单状态 0-未入库 1-已入库；6-创建拉货；2-待拉货；3-已拉货；4-已验收；5-挂起
     */
    public Integer getoStatus() {
        return oStatus;
    }

    /**
     * 入库单状态 0-未入库 1-已入库；6-创建拉货；2-待拉货；3-已拉货；4-已验收；5-挂起
     */
    public void setoStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    /**
     * 客户ID
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 客户ID
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 客户端部门ID
     */
    public Integer getCextId() {
        return cextId;
    }

    /**
     * 客户端部门ID
     */
    public void setCextId(Integer cextId) {
        this.cextId = cextId;
    }

    /**
     * 客户联系人
     */
    public String getCperson() {
        return cperson;
    }

    /**
     * 客户联系人
     */
    public void setCperson(String cperson) {
        this.cperson = cperson;
    }

    /**
     * 客户电话
     */
    public String getCphone() {
        return cphone;
    }

    /**
     * 客户电话
     */
    public void setCphone(String cphone) {
        this.cphone = cphone;
    }

    /**
     * 0-入库单，1-拉货单
     */
    public Integer getType() {
        return type;
    }

    /**
     * 0-入库单，1-拉货单
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * //1-回收人员拉货；2-服务组拉货
     */
    public Integer getlType() {
        return lType;
    }

    /**
     * //1-回收人员拉货；2-服务组拉货
     */
    public void setlType(Integer lType) {
        this.lType = lType;
    }

    /**
     * 网点id  或 服务组id
     */
    public Integer getSid() {
        return sid;
    }

    /**
     * 网点id  或 服务组id
     */
    public void setSid(Integer sid) {
        this.sid = sid;
    }

    /**
     * 车牌号
     */
    public String getPlate() {
        return plate;
    }

    /**
     * 车牌号
     */
    public void setPlate(String plate) {
        this.plate = plate;
    }

    /**
     * 出车时间
     */
    public Date getTimeToout() {
        return timeToout;
    }

    /**
     * 出车时间
     */
    public void setTimeToout(Date timeToout) {
        this.timeToout = timeToout;
    }

    /**
     * 司机
     */
    public String getDriver() {
        return driver;
    }

    /**
     * 司机
     */
    public void setDriver(String driver) {
        this.driver = driver;
    }

    /**
     * 分配时间
     */
    public Date getAllocatDate() {
        return allocatDate;
    }

    /**
     * 分配时间
     */
    public void setAllocatDate(Date allocatDate) {
        this.allocatDate = allocatDate;
    }

    /**
     * 接货时间
     */
    public Date getDeliveryDate() {
        return deliveryDate;
    }

    /**
     * 接货时间
     */
    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    /**
     * 挂起时间
     */
    public Date getHangDate() {
        return hangDate;
    }

    /**
     * 挂起时间
     */
    public void setHangDate(Date hangDate) {
        this.hangDate = hangDate;
    }

    /**
     * 修改时间
     */
    public Date getModifTime() {
        return modifTime;
    }

    /**
     * 修改时间
     */
    public void setModifTime(Date modifTime) {
        this.modifTime = modifTime;
    }

    /**
     * 验货时间
     */
    public Date getValdateDate() {
        return valdateDate;
    }

    /**
     * 验货时间
     */
    public void setValdateDate(Date valdateDate) {
        this.valdateDate = valdateDate;
    }

    /**
     * 拉货人
     */
    public String getDeliveryPerson() {
        return deliveryPerson;
    }

    /**
     * 拉货人
     */
    public void setDeliveryPerson(String deliveryPerson) {
        this.deliveryPerson = deliveryPerson;
    }

    /**
     * 库管操作者
     */
    public String getKg() {
        return kg;
    }

    /**
     * 库管操作者
     */
    public void setKg(String kg) {
        this.kg = kg;
    }

    /**
     * 税率
     */
    public Double getRate() {
        return rate;
    }

    /**
     * 税率
     */
    public void setRate(Double rate) {
        this.rate = rate;
    }

    /**
     * 订单集合
     */
    public String getOrderIds() {
        return orderIds;
    }

    /**
     * 订单集合
     */
    public void setOrderIds(String orderIds) {
        this.orderIds = orderIds;
    }

    /**
     * 结算状态 1已结算 0 未结算
     */
    public Integer getfStatus() {
        return fStatus;
    }

    /**
     * 结算状态 1已结算 0 未结算
     */
    public void setfStatus(Integer fStatus) {
        this.fStatus = fStatus;
    }

    /**
     * 现金金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=1的ORDER_MONEY
     */
    public Double getOrderMoney1() {
        return orderMoney1;
    }

    /**
     * 现金金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=1的ORDER_MONEY
     */
    public void setOrderMoney1(Double orderMoney1) {
        this.orderMoney1 = orderMoney1;
    }

    /**
     * 虚拟币金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=5的ORDER_MONEY
     */
    public Double getOrderMoney5() {
        return orderMoney5;
    }

    /**
     * 虚拟币金额（元） 内部结算的拉货单中，对应的order_rec表里PAY_METHOD=5的ORDER_MONEY
     */
    public void setOrderMoney5(Double orderMoney5) {
        this.orderMoney5 = orderMoney5;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", inId=").append(inId);
        sb.append(", orderId=").append(orderId);
        sb.append(", oIndate=").append(oIndate);
        sb.append(", creater=").append(creater);
        sb.append(", doneDate=").append(doneDate);
        sb.append(", oStatus=").append(oStatus);
        sb.append(", cid=").append(cid);
        sb.append(", cextId=").append(cextId);
        sb.append(", cperson=").append(cperson);
        sb.append(", cphone=").append(cphone);
        sb.append(", type=").append(type);
        sb.append(", lType=").append(lType);
        sb.append(", sid=").append(sid);
        sb.append(", plate=").append(plate);
        sb.append(", timeToout=").append(timeToout);
        sb.append(", driver=").append(driver);
        sb.append(", allocatDate=").append(allocatDate);
        sb.append(", deliveryDate=").append(deliveryDate);
        sb.append(", hangDate=").append(hangDate);
        sb.append(", modifTime=").append(modifTime);
        sb.append(", valdateDate=").append(valdateDate);
        sb.append(", deliveryPerson=").append(deliveryPerson);
        sb.append(", kg=").append(kg);
        sb.append(", rate=").append(rate);
        sb.append(", orderIds=").append(orderIds);
        sb.append(", fStatus=").append(fStatus);
        sb.append(", orderMoney1=").append(orderMoney1);
        sb.append(", orderMoney5=").append(orderMoney5);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperOrderInstock other = (SuperOrderInstock) that;
        return (this.getInId() == null ? other.getInId() == null : this.getInId().equals(other.getInId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getoIndate() == null ? other.getoIndate() == null : this.getoIndate().equals(other.getoIndate()))
            && (this.getCreater() == null ? other.getCreater() == null : this.getCreater().equals(other.getCreater()))
            && (this.getDoneDate() == null ? other.getDoneDate() == null : this.getDoneDate().equals(other.getDoneDate()))
            && (this.getoStatus() == null ? other.getoStatus() == null : this.getoStatus().equals(other.getoStatus()))
            && (this.getCid() == null ? other.getCid() == null : this.getCid().equals(other.getCid()))
            && (this.getCextId() == null ? other.getCextId() == null : this.getCextId().equals(other.getCextId()))
            && (this.getCperson() == null ? other.getCperson() == null : this.getCperson().equals(other.getCperson()))
            && (this.getCphone() == null ? other.getCphone() == null : this.getCphone().equals(other.getCphone()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getlType() == null ? other.getlType() == null : this.getlType().equals(other.getlType()))
            && (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))
            && (this.getPlate() == null ? other.getPlate() == null : this.getPlate().equals(other.getPlate()))
            && (this.getTimeToout() == null ? other.getTimeToout() == null : this.getTimeToout().equals(other.getTimeToout()))
            && (this.getDriver() == null ? other.getDriver() == null : this.getDriver().equals(other.getDriver()))
            && (this.getAllocatDate() == null ? other.getAllocatDate() == null : this.getAllocatDate().equals(other.getAllocatDate()))
            && (this.getDeliveryDate() == null ? other.getDeliveryDate() == null : this.getDeliveryDate().equals(other.getDeliveryDate()))
            && (this.getHangDate() == null ? other.getHangDate() == null : this.getHangDate().equals(other.getHangDate()))
            && (this.getModifTime() == null ? other.getModifTime() == null : this.getModifTime().equals(other.getModifTime()))
            && (this.getValdateDate() == null ? other.getValdateDate() == null : this.getValdateDate().equals(other.getValdateDate()))
            && (this.getDeliveryPerson() == null ? other.getDeliveryPerson() == null : this.getDeliveryPerson().equals(other.getDeliveryPerson()))
            && (this.getKg() == null ? other.getKg() == null : this.getKg().equals(other.getKg()))
            && (this.getRate() == null ? other.getRate() == null : this.getRate().equals(other.getRate()))
            && (this.getOrderIds() == null ? other.getOrderIds() == null : this.getOrderIds().equals(other.getOrderIds()))
            && (this.getfStatus() == null ? other.getfStatus() == null : this.getfStatus().equals(other.getfStatus()))
            && (this.getOrderMoney1() == null ? other.getOrderMoney1() == null : this.getOrderMoney1().equals(other.getOrderMoney1()))
            && (this.getOrderMoney5() == null ? other.getOrderMoney5() == null : this.getOrderMoney5().equals(other.getOrderMoney5()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getInId() == null) ? 0 : getInId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getoIndate() == null) ? 0 : getoIndate().hashCode());
        result = prime * result + ((getCreater() == null) ? 0 : getCreater().hashCode());
        result = prime * result + ((getDoneDate() == null) ? 0 : getDoneDate().hashCode());
        result = prime * result + ((getoStatus() == null) ? 0 : getoStatus().hashCode());
        result = prime * result + ((getCid() == null) ? 0 : getCid().hashCode());
        result = prime * result + ((getCextId() == null) ? 0 : getCextId().hashCode());
        result = prime * result + ((getCperson() == null) ? 0 : getCperson().hashCode());
        result = prime * result + ((getCphone() == null) ? 0 : getCphone().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getlType() == null) ? 0 : getlType().hashCode());
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        result = prime * result + ((getPlate() == null) ? 0 : getPlate().hashCode());
        result = prime * result + ((getTimeToout() == null) ? 0 : getTimeToout().hashCode());
        result = prime * result + ((getDriver() == null) ? 0 : getDriver().hashCode());
        result = prime * result + ((getAllocatDate() == null) ? 0 : getAllocatDate().hashCode());
        result = prime * result + ((getDeliveryDate() == null) ? 0 : getDeliveryDate().hashCode());
        result = prime * result + ((getHangDate() == null) ? 0 : getHangDate().hashCode());
        result = prime * result + ((getModifTime() == null) ? 0 : getModifTime().hashCode());
        result = prime * result + ((getValdateDate() == null) ? 0 : getValdateDate().hashCode());
        result = prime * result + ((getDeliveryPerson() == null) ? 0 : getDeliveryPerson().hashCode());
        result = prime * result + ((getKg() == null) ? 0 : getKg().hashCode());
        result = prime * result + ((getRate() == null) ? 0 : getRate().hashCode());
        result = prime * result + ((getOrderIds() == null) ? 0 : getOrderIds().hashCode());
        result = prime * result + ((getfStatus() == null) ? 0 : getfStatus().hashCode());
        result = prime * result + ((getOrderMoney1() == null) ? 0 : getOrderMoney1().hashCode());
        result = prime * result + ((getOrderMoney5() == null) ? 0 : getOrderMoney5().hashCode());
        return result;
    }
}